package org.hnxxxy.ebms.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author WANGWEI
 * @since 2021-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ebms_expense")
@ApiModel(value="Expense对象", description="")
public class Expense implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报销id")
    @TableId(value = "expense_id", type = IdType.AUTO)
    private Integer expenseId;

    @ApiModelProperty(value = "报销价格")
    private BigDecimal expensePrice;

    @ApiModelProperty(value = "报销详情")
    private String expenseDetail;

    @ApiModelProperty(value = "报销学生id")
    private Integer recruitStuId;

    @ApiModelProperty(value = "报销老师id")
    private Integer teacherId;

    @ApiModelProperty(value = "报销时间")
    private Date expenseData;

    @ApiModelProperty(value = "审批时间")
    private Date expenseTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "0是未删 1是已删")
    @TableLogic
    private Boolean isDeleted;

    @ApiModelProperty(value = "审批状态 0是未审批 1是已审批 2是审批完成")
    private Integer expenseState;


}
